package chapter20.homework2;

public class Client {

    public static void main(String[] args) {
        ListPane gj19ListPane =new ListPane();
        TextPane gj19TextPane = new TextPane();
        GraphicPane gj19GraphicPane = new GraphicPane();
        ConcreteWindow concreteWindow = new ConcreteWindow(gj19GraphicPane,gj19ListPane, gj19TextPane);
        System.out.println("============系统发出请求===============");
        concreteWindow.doSomeThing(gj19GraphicPane, "图像放大1.2倍");
        concreteWindow.doSomeThing(gj19TextPane, "文本缩小到原来的0.8倍");
        concreteWindow.doSomeThing(gj19ListPane, "列表左移10px");
        System.out.println("=============系统结束===================");
    }
}
